<template>
  <div class="navigation-options">
    <div class="options-header">
      <div class="tabs">
        <div class="tab-item active">{{ title }}</div>
      </div>
    </div>
    <div class="options-content">
      <el-form :model="value" size="mini">
        <el-form-item label="标题图片样式">
          <el-radio v-model="value.banner.showStyle" label="12px 12px 0px">卡片式</el-radio>
          <el-radio v-model="value.banner.showStyle" label="0px">通栏显示</el-radio>
        </el-form-item>
        <el-form-item label="标题图片显示">
          <el-radio v-model="value.banner.imgStyle" label="100% 100%">拉伸</el-radio>
          <el-radio v-model="value.banner.imgStyle" label="cover">填充</el-radio>
        </el-form-item>
        <el-form-item label="背景样式">
          <el-radio v-model="value.showStyle" label="12px 12px 0px">卡片式</el-radio>
          <el-radio v-model="value.showStyle" label="0px">通栏显示</el-radio>
        </el-form-item>
        <el-form-item label="背景颜色">
          <el-color-picker v-model="value.bgColor" />
        </el-form-item>
        <el-form-item label="文字颜色">
          <el-color-picker v-model="value.fontColor" />
        </el-form-item>
        <el-form-item label="图标形状">
          <el-radio v-model="value.iconStyle" label="50%">圆形</el-radio>
          <el-radio v-model="value.iconStyle" label="0">方形</el-radio>
        </el-form-item>
      </el-form>
    </div>
  </div>
</template>
<script>
export default {
  name: 'NavigationOptions',
  props: {
    title: {
      type: String,
      default: ''
    },
    value: {
      type: Object,
      default: null
    }
  }
}
</script>
